<!--$# TODO header ad -->
<!--$if{!_SGLOBAL['inajax']}-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=${_SC['charset']}" />
<meta http-equiv="x-ua-compatible" content="ie=7" />
<title><!--$if{_TPL['titles'] != null}--><!--$for{value:_TPL['titles']}--><!--$if{value}-->${value} - <!--$end--><!--$end--><!--$end--><!--$if{space}-->${_SN[space['uid']]} - <!--$end-->${_SCONFIG['sitename']} - Powered by You&Me</title>

<script language="javascript" type="text/javascript" src="${request.contextPath}/js/jquery-1.4.1.js"></script>
<script language="javascript" type="text/javascript" src="${request.contextPath}/js/jquerytools/tools.tooltip-1.0.2.js"></script>

<script language="javascript" type="text/javascript" src="source/script_cookie.js"></script>
<script language="javascript" type="text/javascript" src="source/script_common.js"></script>
<script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
<script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
<script language="javascript" type="text/javascript" src="source/script_face.js"></script>
<script language="javascript" type="text/javascript" src="source/script_manage.js"></script>

<script language="javascript" type="text/javascript" src="${request.contextPath}/dwr/engine.js"></script>



<style type="text/css">
@import url(css/base.css);
<!--$if{_SGLOBAL['space_theme']}-->
@import url(template/default/style.css);
@import url(theme/${_SGLOBAL[space_theme]}/style.css);
<!--$else-->
@import url(template/${_SCONFIG['template']}/style.css);
<!--$end-->
<!--$if{_SGLOBAL['space_css']}-->
${_SGLOBAL['space_css']}
<!--$end-->
/* TODONOW */
@import url(theme/new/style.css);
</style>
<link rel="shortcut icon" href="image/favicon.ico" />
<link rel="edituri" type="application/rsd+xml" title="rsd" href="xmlrpc.html?rsd=${space['uid']}" />
</head>
<body>
<div id="append_parent"></div>
<div id="ajaxwaitid"></div>

	<div id="header">
	<!--$if{_SGLOBAL['ad']['header']}--><div id="ad_header"><!--{ad/header}--></div><!--$end-->
  
  
  
  <link rel="stylesheet" href="${request.contextPath}/js/jquery-megamenu/stylesheets/jquery.megamenu.css" type="text/css" media="screen" />
  
  <script src="${request.contextPath}/js/jquery-megamenu/javascripts/jquery.megamenu.js" type="text/javascript">
  </script>
  <script type="text/javascript">
      jQuery(document).ready(function(){
        jQuery(".MegaMenuLink").megamenu(".MegaMenuContent");
      });
  </script>

  
  
  
	<div class="headerwarp">
    <div class="nav_account">
    <!--$if{_SGLOBAL['supe_uid']}-->
      <a href="space.html?uid=${_SGLOBAL['supe_uid']}" class="login_thumb"><img src="${&com.heaven.web.utils.Common.avatar(_SGLOBAL['supe_uid'], 'small')}" alt="${_SN[_SGLOBAL['supe_uid']]}" width="20" height="20" /></a>
      <div class="welcome_text">
      hi, <a href="space.html?uid=${_SGLOBAL['supe_uid']}" class="loginName">${_SN[_SGLOBAL['supe_uid']]}</a>
      <!--$if{_SN[_SGLOBAL['supe_uid']]!=_SGLOBAL['username']}-->(${_SGLOBAL['supe_username']})<!--$end-->
       | <!--$if{!_SCONFIG['closeinvite'] || !_SCONFIG['closeinvite'].toInteger}--><a href="cp.html?ac=invite">邀请</a> | <!--$end--><a href="cp.html">设置</a> | <a href="cp.html?ac=privacy">隐私</a> | <a href="cp.html?ac=common&op=logout">退出</a>
      </div> 
    <!--$else-->
      <span class="welcome_text">
      <!--$# <a href="do.html?ac=${_SCONFIG['register_action']}" class="login_thumb"><img src="${&com.heaven.web.utils.Common.avatar("", "small")}" width="20" height="20" /></a>  #$-->
      <a href="do.html?ac=${_SCONFIG['login_action']}">登录</a> | 
      <a href="do.html?ac=${_SCONFIG['register_action']}">注册</a>
      </span>
    <!--$end-->
      
    </div>
    <div class="MegaMenu">
        <!-- <a class="MegaMenuLinkOff" href="#">Normal Menu</a> -->
        <a class="MegaMenuLink" href="javascript:void(0)"><img src="${request.contextPath}/image/famfam/cup_add.png"/>New</a>
        <div class="MegaMenuContent">
            <table class="MegaMenuTable" border="0">
                <tr>
                    <th>
                        <div class="MegaMenuHead">for work</div>
                    </th>
                    <th>
                        <div class="MegaMenuHead">for myself </div>
                    </th>
                </tr>
                <tr>
                    <td>
                        <ul class="MegaMenuLists">
                            <li><a href="#">Work Wtatus</a></li>
                            <li><a href="#">Blog</a></li>
                            <li><a href="#">Topic</a></li>
                            <li><a href="#">Task</a></li>
                        </ul>
                    </td>
                    <td class="LastCell">
                        <ul class="MegaMenuLists">
                            <li><a href="#">Invite</a></li>
                            <li><a href="#">Setting</a></li>
                        </ul>
                    </td>
                </tr>
            </table>
        </div>
        
        <a class="MegaMenuLink" href="javascript:void(0)"><img src="${request.contextPath}/image/famfam/user.png"/>Your Staff</a>
        <div class="MegaMenuContent">
            <table class="MegaMenuTable" border="0">
                <tr>
                    <th>
                        <div class="MegaMenuHead">
                            First Heading
                        </div>
                    </th>
                    <th>
                        <div class="MegaMenuHead">
                            Second Heading
                        </div>
                    </th>
                </tr>
                <tr>
                    <td>
                        <ul class="MegaMenuLists">
                            <li>
                                <a href="#">First Link</a>
                            </li>
                            <li>
                                <a href="#">Second Link</a>
                            </li>
                            <li>
                                <a href="#">Third Link</a>
                            </li>
                        </ul>
                    </td>
                    <td class="LastCell">
                        <ul class="MegaMenuLists">
                            <li>
                                <a href="#">Fourth Link</a>
                            </li>
                        </ul>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="LastCell">
                        <div style="padding: 10px 10px 0px 10px;">
                            More text can go here.
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    
    
    
        <a class="MegaMenuLink" href="javascript:void(0)"><img src="${request.contextPath}/image/famfam/eye.png"/>Browse</a>
        <div class="MegaMenuContent">
            <table class="MegaMenuTable" border="0">
                <tr>
                    <th>
                        <div class="MegaMenuHead">
                            First Heading
                        </div>
                    </th>
                    <th>
                        <div class="MegaMenuHead">
                            Second Heading
                        </div>
                    </th>
                </tr>
                <tr>
                    <td>
                        <ul class="MegaMenuLists">
                            <li>
                                <a href="#">First Link</a>
                            </li>
                            <li>
                                <a href="#">Second Link</a>
                            </li>
                            <li>
                                <a href="#">Third Link</a>
                            </li>
                        </ul>
                    </td>
                    <td class="LastCell">
                        <ul class="MegaMenuLists">
                            <li>
                                <a href="#">Fourth Link</a>
                            </li>
                        </ul>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="LastCell">
                        <div style="padding: 10px 10px 0px 10px;">
                            More text can go here.
                        </div>
                    </td>
                </tr>
            </table>
        </div>
            
        <a class="MegaMenuLink" href="javascript:void(0)"><img src="${request.contextPath}/image/famfam/folder_page.png"/>History</a>
        <div class="MegaMenuContent">
            <table class="MegaMenuTable" border="0">
                <tr>
                    <th>
                        <div class="MegaMenuHead">
                            First Heading
                        </div>
                    </th>
                    <th>
                        <div class="MegaMenuHead">
                            Second Heading
                        </div>
                    </th>
                </tr>
                <tr>
                    <td>
                        <ul class="MegaMenuLists">
                            <li>
                                <a href="#">First Link</a>
                            </li>
                            <li>
                                <a href="#">Second Link</a>
                            </li>
                            <li>
                                <a href="#">Third Link</a>
                            </li>
                        </ul>
                    </td>
                    <td class="LastCell">
                        <ul class="MegaMenuLists">
                            <li>
                                <a href="#">Fourth Link</a>
                            </li>
                        </ul>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" class="LastCell">
                        <div style="padding: 10px 10px 0px 10px;">
                            More text can go here.
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>        
	</div>

	<div id="wrap">

	<!--$if{(!_TPL['nosidebar'])}-->
	<div id="main">
		<div id="app_sidebar">
		<!--$if{_SGLOBAL['supe_uid']}-->
			<ul class="app_list" id="default_userapp">
				<li><img src="image/app/doing.gif" width="18px"><a href="space.html?do=doing">心情</a></li>
				<li><img src="image/app/album.gif" width="18px"><a href="space.html?do=album">相册</a><em><a href="cp.html?ac=upload">上传</a></em></li>
				<li><img src="image/app/blog.gif"  width="18px"><a href="space.html?do=blog">日志</a><em><a href="cp.html?ac=blog">发表</a></em></li>
				<li><img src="image/app/mtag.gif"  width="18px"><a href="space.html?do=thread">群组</a><em><a href="cp.html?ac=thread">话题</a></em></li>
				<li><img src="image/app/share.gif" width="18px"><a href="space.html?do=share">分享</a></li>
				
			<!--$if{_SCONFIG['my_status']}-->
				<!--$for{value:_SGLOBAL['userapp']}-->
				<li><img src="http://appicon.manyou.com/icons/$value[appid]"><a href="userapp.html?id=${value[appid]}">${value[appname]}</a></li>
				<!--$end-->
			<!--$end-->
			</ul>
			
			<!--$if{_SCONFIG['my_status']}-->
			<ul class="app_list" id="my_userapp">
				<!--$for{value:_SGLOBAL['my_menu']}-->
				<li id="userapp_li_${value[appid]}"><img src="http://appicon.manyou.com/icons/${value[appid]}"><a href="userapp.html?id=${value[appid]}" title="${value[appname]}">${value[appname]}</a></li>
				<!--$end-->
			</ul>
			<!--$end-->
			
			<!--$if{_SGLOBAL['my_menu_more']}-->
			<p class="app_more"><a href="javascript:;" id="a_app_more" onclick="userapp_open();" class="off">展开</a></p>
			<!--$end-->
			
			<!--$if{_SCONFIG['my_status']}-->
      <!-- 
			<div class="app_m">
				<ul>
					<li><img src="image/app_add.gif"><a href="cp.html?ac=userapp&my_suffix=%2Fapp%2Flist" class="addApp">添加组件</a></li>
					<li><img src="image/app_set.gif"><a href="cp.html?ac=userapp&op=menu" class="myApp">管理组件</a></li>
				</ul>
			</div>
       -->
			<!--$end-->
		
		<!--$else-->
			<div class="bar_text">
				<form id="loginform" name="loginform" action="do.html?ac=${_SCONFIG['login_action']}&ref" method="post">
				<input type="hidden" name="formhash" value="<!--${&com.heaven.web.utils.Common.formhash()}-->" />
					<p class="title">登录站点</p>
					<p>用户名</p>
					<p><input type="text" name="username" id="username" class="t_input" size="15" value="" /></p>
					<p>密码</p>
					<p><input type="password" name="password" id="password" class="t_input" size="15" value="" /></p>
					<p><input type="checkbox" id="cookietime" name="cookietime" value="315360000" checked /><label for="cookietime">记住我</label></p>
					<p>
						<input type="submit" id="loginsubmit" name="loginsubmit" value="登录" class="submit"  />
						<a href="do.html?ac=${_SCONFIG['register_action']}" class="button">注册</a>
					</p>
				</form>
			</div>
		<!--$end-->
		</div>

		<div id="mainarea">
		
		<!--$if{_SGLOBAL['ad']['contenttop']}--><div id="ad_contenttop"><!--{ad/contenttop}--></div><!--$end-->
	<!--$end-->

<!--$end-->
